<div class="events index">
    
    <h2><?php __('Photo Galleries'); ?></h2>
   
    <table>
        <tr>
            <td class="actions">
                <?php echo $this->Html->link(__('Add Gallery', true), array('controller' => 'galleries', 'action' => 'add_gallery')); ?>
            </td>
        </tr>
    </table>

	<?php echo $this->Form->create('Gallery', array('action'=>'add_gallery','enctype' => 'multipart/form-data'));?>
    <?php
	    echo $form->input('name', array('label'=>'Gallery Name:'));
    	echo $form->input('description', array('label'=>'Gallery Description:'));
    	echo $form->input('image',array('label'=>'Gallery Image', 'type'=>'file'));
    	echo $form->end('Create');
    ?>
	   
</div>

